#
# Be sure to run `pod lib lint MozaFFmpeg.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'MozaFFmpeg'
  s.version          = '0.1.1'
  s.summary          = 'MozaFFmpeg.'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
TODO: Add long description of the pod here.
                       DESC

  s.homepage         = 'https://gitee.com/michaelxiaonull/moza-ffmpeg'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'michaelxiaonull' => 'michaelxiaonull@gmail.com' }
  s.source           = { :git => 'https://gitee.com/michaelxiaonull/moza-ffmpeg.git', :tag => s.version.to_s }
  
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
  s.ios.deployment_target = '11.0'

  s.source_files = 'MozaFFmpeg/Classes/**/*'
  
  s.dependency 'mobile-ffmpeg-full', '3.1'
  
#  s.subspec 'ffmpeg' do |ffmpeg|
#        ffmpeg.source_files = 'MozaFFmpeg/Classes/FFmpeg-iOS/**/*'
##        ffmpeg.xcconfig = { 'HEADER_SEARCH_PATHS' => '${PODS_ROOT}/../../MozaFFmpeg/Classes/FFmpeg-iOS/include ${PODS_ROOT}/../../MozaFFmpeg/Classes/FFmpeg-iOS/fftools'}
#
#        ffmpeg.xcconfig = { 'HEADER_SEARCH_PATHS' => '${PROJECT_DIR}/../../MozaFFmpeg/Classes/FFmpeg-iOS/include ${PROJECT_DIR}/../../MozaFFmpeg/Classes/FFmpeg-iOS/fftools'}
#
#        ffmpeg.public_header_files = 'MozaFFmpeg/Classes/MozaFFmpeg.h'
#    end
  
  # 依赖的本地frameworks
  #s.vendored_frameworks = 'MozaFFmpeg/Frameworks/**/*.framework'
  #s.vendored_libraries = 'MozaFFmpeg/Libs/*.a'
  
  
  #s.xcconfig = { 'HEADER_SEARCH_PATHS' => '${PODS_ROOT}/../../MozaFFmpeg/Classes/FFmpeg-iOS/include ${PODS_ROOT}/../../MozaFFmpeg/Classes/FFmpeg-iOS/fftools' }
#  s.xcconfig = { 'HEADER_SEARCH_PATHS' =>
#  '${PODS_ROOT}/../../MozaFFmpeg/Classes/FFmpeg-iOS/include ${PODS_ROOT}/../../MozaFFmpeg/Classes/FFmpeg-iOS/include/libavcodec ${PODS_ROOT}/../../MozaFFmpeg/Classes/FFmpeg-iOS/include/libavdevice ${PODS_ROOT}/../../MozaFFmpeg/Classes/FFmpeg-iOS/include/libavfilter ${PODS_ROOT}/../../MozaFFmpeg/Classes/FFmpeg-iOS/include/libavformat ${PODS_ROOT}/../../MozaFFmpeg/Classes/FFmpeg-iOS/include/libavutil ${PODS_ROOT}/../../MozaFFmpeg/Classes/FFmpeg-iOS/include/libswresample ${PODS_ROOT}/../../MozaFFmpeg/Classes/FFmpeg-iOS/include/libswscale ${PODS_ROOT}/../../MozaFFmpeg/Classes/FFmpeg-iOS/fftools' }
#
  
  
  
  # s.resource_bundles = {
  #   'MozaFFmpeg' => ['MozaFFmpeg/Assets/*.png']
  # }

   #s.public_header_files = 'Pod/Classes/**/*.h'
   s.public_header_files = 'MozaFFmpeg/Classes/MozaFFmpeg.h'
   
   # ffmpeg依赖的系统frameworks
   #s.libraries = 'z', 'bz2', 'iconv'
   #s.frameworks = 'AudioToolbox', 'CoreMedia', 'VideoToolbox', 'AVFoundation'
  # s.dependency 'AFNetworking', '~> 2.3'
end
